←Select platform

DictionaryWithEvents<TKey,TValue> Class Members

Summary

The following tables list the members exposed by DictionaryWithEvents<TKey,TValue>.

Public Constructors

Name Description
Public Constructor DictionaryWithEvents<TKey,TValue> Initializes a new instance of the DictionaryWithEvents<TKey,TValue>.

Public Methods

Name Description
Public Method Add Adds the specified key and value to the dictionary.
Public Method Clear Removes all keys and values from the DictionaryWithEvents<TKey,TValue>.
Public Method Contains Determines whether the IDictionary contains an element with the specified item.
Public Method ContainsKey Determines whether the DictionaryWithEvents<TKey,TValue> contains the specified key.
Public Method CopyTo Copies the elements of the ICollection to an array of type KeyValuePair, starting at the specified array index.
Public Method GetEnumerator Returns an enumerator that iterates through the DictionaryWithEvents<TKey,TValue>.
Public Method Remove Removes the value with the specified key from the DictionaryWithEvents<TKey,TValue>.
Public Method TryGetValue Gets the value associated with the specified key.

Protected Methods

Name Description
Protected Method OnItemAdded Raises the ItemAdded event.
Protected Method OnItemRemoved Raises the ItemRemoved event.
Protected Method OnItemUpdated Raises the ItemUpdated event.

Public Properties

Name Description
Public Property Count Gets the number of key/value pairs contained in the DictionaryWithEvents<TKey,TValue>.
Public Property IsReadOnly Gets a value indicating whether the dictionary is read-only.
Public Property Item Gets or sets the value associated with the specified key.
Public Property Keys Gets a collection containing the keys in the DictionaryWithEvents<TKey,TValue>.
Public Property Values Gets a collection containing the values in the DictionaryWithEvents<TKey,TValue>.

Public Events

Name Description
Public Event ItemAdded Occurs when an item is added into the DictionaryWithEvents<TKey,TValue>.
Public Event ItemRemoved Occurs when an item is removed from the DictionaryWithEvents<TKey,TValue>.
Public Event ItemUpdated Occurs when an item in the DictionaryWithEvents<TKey,TValue> is updated.

See Also

DictionaryWithEvents<TKey,TValue> Class

Leadtools.Medical.Workstation Namespace

Help Version 22.0.2023.2.7
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Medical.Workstation Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.